<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:v="urn:schemas-microsoft-com:vml">
	<head>
		
		<title><s:property value='%{getText("trackLine_title")}' /></title>
		<link href="/SCMDB/style/main.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="/SCMDB/labelIO/js/darwTrack.js"></script>
		<script type="text/javascript" src="/SCMDB/labelIO/js/dragDetail.js"></script>
		<script type="text/javascript" src="/SCMDB/js/buildMap.js"></script>
		<style type="text/css">
v\: * {
	BEHAVIOR: url(#default#VML);
	display: inline-block;
}
</style>
	</head>
	<body>
		<h2>
			<s:property value='%{getText("trackLine_h2")}' />
		</h2>
		<div class="main" id="main">
			<div id="mainDiv" style="position: absolute; height: 100%; width: 100%; border: 1px solid #000; overflow: hidden;">
				<script language="JavaScript">
			<s:iterator id="map" status="u" value="#request.listMap">
				buildMap('${map.mapName}','${map.mapAddr}',${map.mapWidth},${map.mapHeight},"mainDiv");
			</s:iterator>
			<s:iterator id="read" status="u" value="#request.listRead">
				buildRead('${read.lrmID}','${read.lrmName}','${read.lrmType}','${read.lrmX}','${read.lrmY}','${read.lrmState}','${read.lrmTime}','${read.rmk}');
			</s:iterator>
			createEmp();
			initTrackCoords('<s:property value="#request.points" />');
			
			</script>
			</div>
		</div>
	</body>
</html>

